package com.jdzy.model.student.dtos;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class ThesisDto {

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "学号stuId")
    private String stuId;

    @ApiModelProperty(value = "论文名称")
    private String thesisName;

    @ApiModelProperty(value = "论文等级")
    private Byte thesisLevel;

    @ApiModelProperty(value = "论文状态")
    private Byte thesisStatus;

    @ApiModelProperty(value = "论文开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT-8")
    private LocalDate thesisStartTime;

    @ApiModelProperty(value = "论文结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT-8")
    private LocalDate thesisEndTime;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT-8")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "论文参与人")
    private List<String> thesisParticipants;

    @ApiModelProperty(value = "论文参与人(字符串形式)")
    private String thesisParticipantStr;
}
